\hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager}{}\section{com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager类 参考}
\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager}\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}


com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager 的协作图\+:
% FIG 0
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a221d4e0be0039be3f672aa7f41dc846c}{add\+Activity}} (Activity activity)
\item 
static Activity \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a389ff3d67637e73e722aa6274a167c0c}{current\+Activity}} ()
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ab78bcc8619fb444e866aea65fee46386}{finish\+Current\+Activity}} ()
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a6e67d6a286bf729c546b6a95ba016cc1}{finish\+Activity}} (Activity activity)
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_abd6bf84a505b73f0ed3e47c6480a5ba7}{finish\+Activity}} (Class$<$?$>$ cls)
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_aed88d04478ec8f70362f104353a88abe}{finish\+All\+Activity}} ()
\item 
static void \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ace768949698c5fd46e3fd8bd7c7b0b5c}{App\+Exit}} (Context context)
\end{DoxyCompactItemize}
\subsection*{静态 Private 属性}
\begin{DoxyCompactItemize}
\item 
static Stack$<$ Activity $>$ \mbox{\hyperlink{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ac7d22694c968506e587e2a9f28b565e7}{activity\+Stack}} = new Stack$<$Activity$>$()
\end{DoxyCompactItemize}


\subsection{成员函数说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a221d4e0be0039be3f672aa7f41dc846c}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a221d4e0be0039be3f672aa7f41dc846c}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!addActivity@{addActivity}}
\index{addActivity@{addActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{addActivity()}{addActivity()}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+add\+Activity (\begin{DoxyParamCaption}\item[{Activity}]{activity }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

添加\+Activity到堆栈 \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ace768949698c5fd46e3fd8bd7c7b0b5c}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ace768949698c5fd46e3fd8bd7c7b0b5c}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!AppExit@{AppExit}}
\index{AppExit@{AppExit}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{AppExit()}{AppExit()}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+App\+Exit (\begin{DoxyParamCaption}\item[{Context}]{context }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

退出应用程序 \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a389ff3d67637e73e722aa6274a167c0c}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a389ff3d67637e73e722aa6274a167c0c}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!currentActivity@{currentActivity}}
\index{currentActivity@{currentActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{currentActivity()}{currentActivity()}}
{\footnotesize\ttfamily static Activity com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+current\+Activity (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

获取当前\+Activity（堆栈中最后一个压入的） \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a6e67d6a286bf729c546b6a95ba016cc1}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_a6e67d6a286bf729c546b6a95ba016cc1}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!finishActivity@{finishActivity}}
\index{finishActivity@{finishActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{finishActivity()}{finishActivity()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+finish\+Activity (\begin{DoxyParamCaption}\item[{Activity}]{activity }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

结束指定的\+Activity \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_abd6bf84a505b73f0ed3e47c6480a5ba7}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_abd6bf84a505b73f0ed3e47c6480a5ba7}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!finishActivity@{finishActivity}}
\index{finishActivity@{finishActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{finishActivity()}{finishActivity()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+finish\+Activity (\begin{DoxyParamCaption}\item[{Class$<$?$>$}]{cls }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

结束指定类名的\+Activity \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_aed88d04478ec8f70362f104353a88abe}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_aed88d04478ec8f70362f104353a88abe}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!finishAllActivity@{finishAllActivity}}
\index{finishAllActivity@{finishAllActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{finishAllActivity()}{finishAllActivity()}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+finish\+All\+Activity (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

结束所有\+Activity \mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ab78bcc8619fb444e866aea65fee46386}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ab78bcc8619fb444e866aea65fee46386}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!finishCurrentActivity@{finishCurrentActivity}}
\index{finishCurrentActivity@{finishCurrentActivity}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{finishCurrentActivity()}{finishCurrentActivity()}}
{\footnotesize\ttfamily static void com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+finish\+Current\+Activity (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

结束当前\+Activity（堆栈中最后一个压入的） 

\subsection{类成员变量说明}
\mbox{\Hypertarget{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ac7d22694c968506e587e2a9f28b565e7}\label{classcom_1_1example_1_1akisame__lin_1_1love__air2_1_1_bean_1_1_app_manager_ac7d22694c968506e587e2a9f28b565e7}} 
\index{com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}!activityStack@{activityStack}}
\index{activityStack@{activityStack}!com.example.akisame\_lin.love\_air2.Bean.AppManager@{com.example.akisame\_lin.love\_air2.Bean.AppManager}}
\subsubsection{\texorpdfstring{activityStack}{activityStack}}
{\footnotesize\ttfamily Stack$<$Activity$>$ com.\+example.\+akisame\+\_\+lin.\+love\+\_\+air2.\+Bean.\+App\+Manager.\+activity\+Stack = new Stack$<$Activity$>$()\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [private]}}



该类的文档由以下文件生成\+:\begin{DoxyCompactItemize}
\item 
app/src/main/java/com/example/akisame\+\_\+lin/love\+\_\+air2/\+Bean/\mbox{\hyperlink{_app_manager_8java}{App\+Manager.\+java}}\end{DoxyCompactItemize}
